Undo_AddPalette

Saves the current image palette in the DRAW REDO BUFFER.

Syntax: imaG.Undo_AddPalette
Returns: (empty)

This method has to be set AFTER the imaG image changes to store the REDO palette.

If the image is a true color image (24 bit per pixel depth), this method is not effective.

If the imaG is in TEST MODE, this method is not effective.

If MODE PROPERTY is NOT caModeDraw then an ERROR will be thrown.

See The Undo Buffer , UndAdd , UndoQuery , UndoUndo , UndoRedo